package com.ozo.boot.auth.token;

import com.ozo.boot.common.base.constant.BaseEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * <p>
 * 授权方式
 * </p>
 *
 * @author qiangesoft
 * @since 2024-07-11
 */
@Getter
@RequiredArgsConstructor
public enum LoginType implements BaseEnum {

    PASSWORD("PASSWORD", "账号密码"),

    PHONENUM("PHONENUM", "手机号");

    /**
     * 编码
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;

}
